/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.sys.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.sys.entity.SysMenuSwitch;
import com.thinkgem.jeesite.modules.sys.dao.SysMenuSwitchDao;

/**
 * 审批控制Service
 * @author ZC
 * @version 2017-06-02
 */
@Service
@Transactional(readOnly = true)
public class SysMenuSwitchService extends CrudService<SysMenuSwitchDao, SysMenuSwitch> {

	public SysMenuSwitch get(String id) {
		return super.get(id);
	}
	
	public List<SysMenuSwitch> findList(SysMenuSwitch sysMenuSwitch) {
		return super.findList(sysMenuSwitch);
	}
	
	public Page<SysMenuSwitch> findPage(Page<SysMenuSwitch> page, SysMenuSwitch sysMenuSwitch) {
		return super.findPage(page, sysMenuSwitch);
	}
	
	@Transactional(readOnly = false)
	public void save(SysMenuSwitch sysMenuSwitch) {
		super.save(sysMenuSwitch);
	}
	
	@Transactional(readOnly = false)
	public void delete(SysMenuSwitch sysMenuSwitch) {
		super.delete(sysMenuSwitch);
	}
	
}